<?php
namespace app\common\model;

use think\Model;

class Notice extends Model
{
    public function getList($map,$order,$size=10)
    {
        return $this->where($map)->order($order)->paginate($size);
    }


}
